package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * EvaluationRecordModel
 * 评教记录表
 *
 * @author 杨江涛
 * @version 2.0.0
 * @since 2.0.0 2018-12-18 18:19:48
 */
@ApiModel(value = "EvaluationRecordModel:评教记录表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class EvaluationRecordModel implements Serializable {

    //region 模板逆向生产来自TeEvaluationRecordEntity的属性
    /**
     * id
     */
    @ApiModelProperty(value = "teEvaluationRecord主键")
    @Column(name = "id")
    private String id;
    /**
     * 课程id
     */
    @ApiModelProperty(value = "课程id")
    private String courseId;

    /**
     * 教师id
     */
    @ApiModelProperty(value = "问卷id")
    private String paperId;

    /**
     * 题干分数
     */
    @ApiModelProperty(value = "题干分数")
    private Double questionScore;

    /**
     * 教师得分
     */
    @ApiModelProperty(value = "教师得分")
    private Double teacherScore;

    /**
     * 题型id
     */
    @ApiModelProperty(value = "题型Code")
    private String questionCode;

    /**
     * 评教问卷题干id
     */
    @ApiModelProperty(value = "评教问卷题干id")
    private String evaluationMainId;

    /**
     * 学生评教选项内容id
     */
    @ApiModelProperty(value = "学生评教选项内容id")
    private String evaluationSubId;

    /**
     * 学生id
     */
    @ApiModelProperty(value = "学生id")
    private String studentId;

    /**
     * 学年学期id
     */
    @ApiModelProperty(value = "学年学期id")
    private String schoolYearId;

    /**
     * （0教师评教问卷记录表  1课程评教问卷记录表）
     */
    @ApiModelProperty(value = "（0教师评教问卷记录表  1课程评教问卷记录表）", example = "0")
    private Integer type;

    /**
     * 专业Id（学生所在的专业Id）
     */
    @ApiModelProperty(value = "专业Id（学生所在的专业Id）")
    private String professionId;

    /**
     * 试题顺序
     */
    @ApiModelProperty(value = "试题顺序", example = "0")
    private Integer questionOrder;


    //endregion

    /* *****************************以下是非模板生成的内容************************************ */
    /**
     * 是否完成
     */
    @ApiModelProperty(value = "是否完成")
    private boolean done;


    /**
     * 课程问卷简答题，意见建议
     */
    @ApiModelProperty(value = "课程问卷简答题，意见建议")
    private String advice;


    /**
     * 课程问卷简答题，意见建议
     */
    @ApiModelProperty(value = "已选该选项的学生总人数")
    private String studentCheckedNum;

    /**
     * 课程问卷简答题，意见建议
     */
    @ApiModelProperty(value = "选项内容")
    private String optionContent;

    /**
     * 答题记录表id
     */
    @ApiModelProperty(value = "答题记录表id")
    private String recordId;


}
